package com.zhoukx.builder.improve;

/**
 * @ClassName HouseBuilder
 * @Description:
 * @Author zhoukx
 * @Date 2020/8/7
 **/
// 抽象的建造者
public abstract class HouseBuilder {
    private House house = new House();
    // 以下是抽象的建造流程
    public abstract void buildBasic();

    public abstract void buildWalls();

    public abstract void roofed();

    // 建造房子  将产品 返回
    public House buildHouse(){
        return  house;
    }
}
